package com.aspose.cells;

class zbvf extends zbz {
   zbvf(WorksheetCollection var1) {
      this.c(61);
      this.b(18);
      this.c = new byte[18];
      WorkbookSettings var2 = var1.n().getSettings();
      System.arraycopy(com.aspose.cells.b.a.zc.a(var2.q()), 0, this.c, 0, 2);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var2.r()), 0, this.c, 2, 2);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var2.s()), 0, this.c, 4, 2);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var2.t()), 0, this.c, 6, 2);
      this.c[14] = 1;
      this.c[16] = 88;
      this.c[17] = 2;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.getActiveSheetIndex()), 0, this.c, 10, 2);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.C()), 0, this.c, 12, 2);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var2.getSheetTabBarWidth()), 0, this.c, 16, 2);
      if (var2.isHidden()) {
         this.c[8] = (byte)(this.c[8] | 1);
      }

      if (var2.isMinimized()) {
         this.c[8] = (byte)(this.c[8] | 2);
      }

      if (var2.isHScrollBarVisible()) {
         this.c[8] = (byte)(this.c[8] | 8);
      }

      if (var2.isVScrollBarVisible()) {
         this.c[8] = (byte)(this.c[8] | 16);
      }

      if (var2.getShowTabs()) {
         this.c[8] = (byte)(this.c[8] | 32);
      }

   }
}
